package com.party.core.model.mall;

import com.party.core.model.BaseModel;

import java.util.Date;
import java.util.List;

/**
 * @Author: Administrator.
 * @Description: 订单详情
 * @Date:Created in 2017/8/29 0029 下午 18:51.
 */
public class MallOrderDetail extends BaseModel {
    private String productId; // 产品id
    private String memberId; // 用户id
    private String orderId; // 订单id
    private String goodsId; // 商品id
    private String parentId; // 父id
    private Integer quantity; // 数量
    private Double price; // 价格
    // 状态 2 待付款 3 待发货 4 已发货 5 退款拒绝 6 退款中 7 已完成 8 已关闭 9 退款成功 10 待评价
    private Integer status;
    private String statusName;
    private String title; // 产品名称
    private String specValues; // 产品规格
    private String pic; // 产品图片
    private String addressName; // 收货人姓名
    private String addressPhone; // 收货人手机
    private String addressFull; //收货人地址
    private String buyerRemarks; // 买家留言
    private String sellerRemarks; // 卖家备注
    private Date shipmentDate; // 发货时间
    private Date completeDate; // 交易完成时间
    private List<MallOrderDetail> childrens;
    private Double postage; // 邮费
    private Double costPrice; // 成本价
    private Double tradePrice; // 批发价
    private String distributorId; // 分销者
    private String productNumber; // 产品编码
    private Integer orderType; // 1 实物订单 2 积分订单

    public MallOrderDetail(String orderId) {
        this.orderId = orderId;
    }

    public MallOrderDetail() {
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<MallOrderDetail> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<MallOrderDetail> childrens) {
        this.childrens = childrens;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public String getAddressPhone() {
        return addressPhone;
    }

    public void setAddressPhone(String addressPhone) {
        this.addressPhone = addressPhone;
    }

    public String getAddressFull() {
        return addressFull;
    }

    public void setAddressFull(String addressFull) {
        this.addressFull = addressFull;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSpecValues() {
        return specValues;
    }

    public void setSpecValues(String specValues) {
        this.specValues = specValues;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getBuyerRemarks() {
        return buyerRemarks;
    }

    public void setBuyerRemarks(String buyerRemarks) {
        this.buyerRemarks = buyerRemarks;
    }

    public String getSellerRemarks() {
        return sellerRemarks;
    }

    public void setSellerRemarks(String sellerRemarks) {
        this.sellerRemarks = sellerRemarks;
    }

    public Date getShipmentDate() {
        return shipmentDate;
    }

    public void setShipmentDate(Date shipmentDate) {
        this.shipmentDate = shipmentDate;
    }

    public Date getCompleteDate() {
        return completeDate;
    }

    public void setCompleteDate(Date completeDate) {
        this.completeDate = completeDate;
    }

    public Double getPostage() {
        return postage;
    }

    public void setPostage(Double postage) {
        this.postage = postage;
    }

    public Double getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(Double costPrice) {
        this.costPrice = costPrice;
    }

    public Double getTradePrice() {
        return tradePrice;
    }

    public void setTradePrice(Double tradePrice) {
        this.tradePrice = tradePrice;
    }

    public String getDistributorId() {
        return distributorId;
    }

    public void setDistributorId(String distributorId) {
        this.distributorId = distributorId;
    }

    public String getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }
}
